// SPDX-License-Identifier: Apache-2.0
//
// Copyright © 2017 Trust Wallet.

#include "<%= format_name(coin) %>/Signer.h"
#include "<%= format_name(coin) %>/Address.h"
#include "HexCoding.h"
#include "PrivateKey.h"
#include "PublicKey.h"

#include <gtest/gtest.h>

namespace TW::<%= format_name(coin) %>::tests {

// TODO: Add tests

TEST(<%= format_name(coin) %>Signer, Sign) {
    // TODO: Finalize test implementation

    //auto key = PrivateKey(parse_hex("__PRIVKEY_DATA__"));
    //auto publicKey = key.getPublicKey(TWPublicKeyTypeED25519);
    //auto from = Address(publicKey);
    //auto to = Address("__TO_ADDRESS__");
    //...
    //auto transaction = Transaction(...)
    //auto signature = Signer::sign(key, transaction);
    //auto result = transaction.serialize(signature);

    //ASSERT_EQ(hex(serialized), "__RESULT__");
    //ASSERT_EQ(...)
}

} // namespace TW::<%= format_name(coin) %>::tests
